<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<!--    1.2 在页面B设置两个按钮，分别实现前进、后退功能 -->
		<button type="button" onclick="goC()">跳转到C</button>
		<button type="button" onclick="back()">后退</button>
		<button type="button" onclick="go()">前进</button>
		 <button type="button" onclick="koi()">刷新页面</button>
		
	</body>
	<script type="text/javascript">
		function back(){
			history.back(-1)
		}
		function go(){
			history.go(1)
		}
		function goC(){
			location.href="http://127.0.0.1:8848/yee/C.html"
		}		
		function koi(){
				location.reload()
		}
	</script>
</html>
